﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SMonsterSiegePlayerHurtInfo extends Object
    {
        public var rank:int;
        public var name:String;
        public var entityId:SEntityId;
        public var hurt:int;

        public function SMonsterSiegePlayerHurtInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.rank);
            param1.writeString(this.name);
            this.entityId.__write(param1);
            param1.writeInt(this.hurt);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.rank = param1.readInt();
            this.name = param1.readString();
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.hurt = param1.readInt();
            return;
        }// end function

    }
}
